/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Noto Serif SC', serif;
    font-weight: 600;
    color: #2c5530;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #2c5530;
    transition: color 0.3s;
}

a:hover {
    color: #4a7c54;
}

.btn {
    display: inline-block;
    background-color: #2c5530;
    color: white;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #4a7c54;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #2c5530;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 顶部导航栏 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 15px;
}

.logo-text {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c5530;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span {
    color: #4a7c54;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Noto Sans SC', sans-serif;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: #4a7c54;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #2c5530;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.9)), url('https://images.unsplash.com/photo-1575936123452-b67c3203c357?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: #2c5530;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: #555;
}

/* 产品展示区域 */
.products {
    padding: 80px 0;
    background-color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 添加针对4个产品的响应式调整 */
@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}


.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-img {
    height: 220px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    margin-bottom: 20px;
}

.product-tag {
    display: inline-block;
    background-color: #e9f5e9;
    color: #2c5530;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

/* 关于我们区域 */
.about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.about-features {
    list-style: none;
    margin-top: 25px;
}

.about-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.about-features i {
    color: #2c5530;
    margin-right: 10px;
    font-size: 1.1rem;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 健康益处区域 */
.benefits {
    padding: 80px 0;
    background-color: white;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background-color: #e9f5e9;
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* 联系区域 */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
    margin-top: 20px;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-details i {
    color: #2c5530;
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* 页脚 */
footer {
    background-color: #2c5530;
    color: #e9f5e9;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Noto Serif SC', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Noto Sans SC', sans-serif;
    margin-top: 5px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
        margin-right: 10px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-text span {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-text span {
        font-size: 0.8rem;
    }
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #c8e6c9;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 15px;
    color: #c8e6c9;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #4a7c54;
    color: #c8e6c9;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 0;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 12px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}